<template>
  <div class="columnitem">
    <div class="columnitem_back"></div>
    <img v-lazy="item.url" />
  </div>
</template>
<script>
export default {
  name: "ColumnItem",
  props: {
    item: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  data() {
    return {};
  },
};
</script>
<style lang="less">
@base: 23.44rem;
.columnitem {
  position: relative;
  overflow: hidden;
  background-color: #efefef;
  margin: 0 5 / @base 0 0;
  height: 100%;
  .columnitem_back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }
  img {
    width: 100%;
    height: 100%;
  }
}
</style>
